@import (reference) 'variable.less';

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:after,
:before {
  box-sizing: border-box;
}

li,
ul,
ol {
  list-style: none;
}

a,
a:hover,
a:focus,
a:visited {
  cursor: pointer;
  text-decoration: none;
  outline-style: none;
}
.clearfix {
  *zoom: 1;
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  color: @c3;
  background: @cf;
}

.lang-cn body {
  font-family: 'Microsoft YaHei', sans-serif, Helvetica, Verdana;
}

.lang-en body {
  font-family: 'Microsoft YaHei', sans-serif;
}

.position-fix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.lazyload {
  position: relative;

  img {
    position: absolute;
    display: block;
    width: 100%;
    min-height: 100%;
  }
  &:after {
    padding-top: 56.24%;
    content: '';
    width: 100%;
    display: block;
  }
}

.scrollbar {
  /*美化滚动条*/
  &::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  /* 这是针对缺省样式 (必须的) */
  &::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: @cf;
  }
  /* 滚动条的滑轨背景颜色 */
  &::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: @cd5;
    border-radius: 10px;
  }
  /* 滑块颜色 */
  &::-webkit-scrollbar-button {
    display: none;
    background-color: @cf;
  }
  /* 滑轨两头的监听按钮颜色 */
  &::-webkit-scrollbar-corner {
    background-color: @cf;
  }
}

.hover:hover .img {
  transform: scale(1.06, 1.06);
}

img {
  transition: all 0.3s ease-out 0s;
}
